package com.ttg.web.dao;


import com.baomidou.mybatisplus.extension.service.IService;
import com.ttg.common.entities.BasePage;
import com.ttg.model.pojo.AdminLog;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @author ZQ
 * @version 1.0
 * @Description
 * @date 2021/2/22 10:58
 */
public interface AdminLogDao extends IService<AdminLog> {
    boolean addLog(long adminId,Long chlId,String curd,Long objId,String remark,String ip);

    boolean addLog(long adminId,Long chlId,String curd,Long objId,String remark,String ip,String admUserName ,String admTrueName,String chlName);

    BasePage<AdminLog> findLogPage(BasePage<AdminLog> basePage, Long admId, List<Long> adminAgentNo, Integer admType, Long admOrgNo, List<Long> chlIds, LocalDateTime sdate, LocalDateTime edate);

    BasePage<AdminLog> findAdminLogPage(BasePage<AdminLog> parse, Long admId, String admUserName, String admTrueName, Long logObjId, List<Long> logChlIds, LocalDate sDate, LocalDate eDate,List<Long> adminIds);
}
